<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>MBA院校库首页-广州冠君教育集团</title>
<meta name="keywords" content="冠君MBA扎根广州，唯一10年办学，中大暨大官方认定的MBA辅导机构，超强提前面试体系，顶级联考名师，保过班通过率高达97%，咨询热线：400-166-9366" />
 <meta name="description" content="广州MBA培训班,广州MBA辅导班,广州MBA考前辅导班,MBA提前面试辅导" />
<!-- <link rel="shortcut icon" href="http://www.mbachina.com/favicon.ico" /> -->
<link href="<?php echo $cfg_templets_skin; ?>/style/collegelibrary/index_style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $cfg_templets_skin; ?>/style/collegelibrary/conmon_1.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $cfg_cmsurl; ?>/wenda/static/style/collegeinfo_detail/style1.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $cfg_templets_skin; ?>/js/collegelibrary/jquery-1.4.min.js"></script>
<script type="text/javascript" src="<?php echo $cfg_templets_skin; ?>/js/collegelibrary/cookie.js"></script>
<style type="text/css">
.cl{ clear:both;}
#register_form li{
  width: 210px;
}

#register_form li input{
  width: 115px;
}
</style>
<script type="text/javascript">
  function register(){
    var email = $("input[name=email]").val();
    var realname = $("input[name=realname]").val();
    var tel = $("input[name=tel]").val();
    var degree = $("#degree option:selected").val();
    var schoolGraduate = $("input[name=schoolGraduate]").val();
    var dateGraduate = $("input[name=dateGraduate]").val();

    var email_pattern = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
    var phone_pattern = /1[3-8]+\d{9}/;
    $.post('<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=index&ac=check_mail',{email:email},function(msg){
      if(msg == 1){
        alert("该邮箱已被注册过！");
        return;
      }else{
            if(!email_pattern.test(email)){
              alert("邮箱格式不正确！");
            }else if(realname == ""){
              alert("姓名不能为空！");
            }else if(!phone_pattern.test(tel)){
              alert("手机号格式不正确！");
            }else if(schoolGraduate == ""){
              alert("毕业院校不能为空！");
            }else if(!/^[1|2]\d{3}$/.test(dateGraduate)){
              alert("毕业年份格式不对！");
            }else{
                  $.post('<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=quick_register',{
                      email:email,
                      username:realname,
                      phone:tel,
                      degree:degree,
                      schoolGraduate:schoolGraduate,
                      dateGraduate:dateGraduate
                    },function(){
                      alert("报名成功！");
                    });
            }
      }
    });

  }
</script>
</head>

<body>
<div class="top_nav">
  <h1><a href="http://www.guanjunedu.com/" target="_blank">冠君MBA</a></h1>
  <ul>
    <li><a href="http://www.guanjunedu.com/" target="_blank" style="color:#898989; text-decoration:none;">冠君教育</a>&nbsp;|&nbsp;</li>
    <li><a href="collegelist.php">MBA院校库</a>&nbsp;|&nbsp;</li>
  </ul>
</div>


<form action="../plus/collegesearch.php" method="get">
<div class="top_search">
  <div class="logo"><a href="" ><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/logo1.gif" alt="MBA院校库" /></a></div>
  <ul id="selected">
    <li class="li_1 touchmenu">
		<select name="search_area" style="width:71px;border:0; font-size:12px;">
		<option value="0">地区</option>
    <?php
        $area = getTopData('area');
        foreach ($area as $key => $value) {
          echo "<option value='$key'>$value</option>";
        }
    ?>
		</select>
  	</li>

     <li class="li_2 touchmenu">
     	<select  name ="search_feerange" style="border:0; width:71px; font-size:12px;">
     		<option value="0">学费</option>
     		<?php
        $fee_range = getTopData('feeRange');
        foreach ($fee_range as $key => $value) {
          echo "<option value='$key'>$value</option>";
        }
        ?>
     	</select>
  </li>

  <li class="li_3 touchmenu">
   	<select name="search_projecttype" style=" width:82px;border:0; font-size:12px;">
   		<option value="0">项目类型</option>
   		<?php
        $project_type = getTopData('projectType');
        foreach ($project_type as $key => $value) {
          echo "<option value='$key'>$value</option>";
        }
      ?>
   	</select>
  </li>

  <li class="li_4">
     <input type="text" class="keyword" name="keyword" id="textJC" onclick="this.value='';" value="输入学校名称" /><input type="image" src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/search_ss.gif" class="ss" />
  </li>
  </ul>
</div>
</form>

<div class="blank13"></div>
<?php
  $inquery = "SELECT area,count(distinct collegeId) as collegeNum FROM `#@__collegeinfo` group by area order by collegeNum desc,area asc";
  $dsql->SetQuery($inquery);
  $dsql->Execute();
  $area_count = array();
  while($row = $dsql->GetArray()){
    $area_count[] = $row;
  }
?>
<div class="sxyzd">
  <div class="yy"></div>
  <div style="background: #FFF; width:5px; height:120px; position: absolute; z-index:90; left:938px;"></div>
  <dl id="menu_list">
    <dt title="商学院直达">商学院直达</dt>
    <?php foreach ($area_count as $key => $value) {
        if ($key<8) {
     ?>
    <dd <?php if($key==0)  echo "class='sel'"; ?>><span><a href="../plus/collegesearch.php?search_area=<?php echo $area_count[$key]['area']; ?>">
    <?php echo GetEnumsValue('area',$area_count[$key]['area']); ?>
    </a></span>(<?php echo $area_count[$key]['collegeNum']; ?>)</dd>
    <?php
        }
      }
    ?>
    <!-- 地区多于8个的时候，显示其他地区 -->
    <?php
        if (count($area_count)>8) {
    ?>
        <dd><span><a href="../plus/collegesearch.php?" title="其他地区">其他地区</a></span></dd>
    <?php    }
    ?>
  </dl>

  <div class="xy">
     <?php foreach ($area_count as $key => $value) {
        if ($key<8) {
     ?>
     <ul class="xy_list" <?php if($key>0) echo "style='display:none'"; ?>>
     <?php
          //查询相应的院校
          $inquery = "SELECT * FROM `#@__collegeinfo` WHERE area=$value[area]";
          $dsql->SetQuery($inquery);
          $dsql->Execute();
          $area_college = array();
          while($row = $dsql->GetArray()){
             $area_college[] = $row;
          }
          // 列出13个院校
          foreach ($area_college as $key_col => $value_col) {
            if ($key_col<13) {
    ?>
<<<<<<< HEAD
        <li><em><a href="<?php echo  $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $area_college[$key_col]['collegeId']; ?>" target="_blank" ><?php echo $area_college[$key_col]['name']; ?> </a></em><span><a href="<?php echo  $cfg_cmsurl; ?>/wenda/index.php?ct=index&ac=register" target="_blank">报名</a>&nbsp;<a href="<?php echo  $cfg_cmsurl; ?>/wenda" target="_blank">论坛</a>&nbsp;<a href="javascript:void(0)" onclick="list_db(<?php echo $area_college[$key_col]['collegeId']; ?>,'<?php echo $area_college[$key_col]['name']; ?> ')">对比</a></span></li>
=======
        <li><em><a href="<?php echo  $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $area_college[$key_col]['collegeId']; ?>" target="_blank" title="<?php echo $area_college[$key_col]['name']; ?>" ><?php echo $area_college[$key_col]['name']; ?> </a></em><span><a href="<?php echo  $cfg_cmsurl; ?>/wenda/index.php?ct=index&ac=register" target="_blank">报名</a>&nbsp;<a href="<?php echo  $cfg_cmsurl; ?>/wenda" target="_blank">论坛</a>&nbsp;<a href="javascript:void(0)" onclick="list_db(<?php echo $area_college[$key_col]['collegeId']; ?>,'<?php echo $area_college[$key_col]['name']; ?> ')">对比</a></span></li>
>>>>>>> 6dd13367460f2cfe5c07483897ba27f4b337ad53

    <?php    }//if end
            else{
    ?>
        <li><a href="../plus/collegesearch.php?search_area=<?php echo $area_college[$key_col]['area']; ?>" style="color:#5d70b9;display:block; width:100px; height:56px; line-height:30px; margin-top:10px; font-family:'微软雅黑'; font-size:12px;">更多»</a></li>
    <?php break;       }//else end
          }//foreach end
     ?>

     </ul>
     <?php
        }//if($key<8) end
      }// foreach end
     ?>
     <ul class="xy_list qt_list" style="display:none">
    <?php
      // 为了逻辑的简单性，再次开一个相同的循环，筛选key>=8的地区院校
      foreach ($area_count as $key => $value) {
        if ($key>=8) {
    ?>
      <li><a href="../plus/collegesearch.php?search_area=<?php echo $area_count[$key]['area']; ?>"><?php echo GetEnumsValue('area',$area_count[$key]['area']).'('.$area_count[$key]['collegeNum'].')'; ?></a>|</li>
    <?php
        }// if end
      } // foreach end
     ?>
    <div class="cl"></div>
      <div class="tuijian">
        <?php
            // 推荐院校的显示
            $inquery = "SELECT * FROM `#@__collegeinfo` WHERE recommend='1' order by collegeId desc";
            $dsql->SetQuery($inquery);
            $dsql->Execute();
            $tuijian_college = array();
            while($row = $dsql->GetArray()){
              $tuijian_college[] = $row;
            }
            // 显示10条
            foreach ($tuijian_college as $key => $value) {
              if ($key<10) {
        ?>
            <a href="index/detail?schoolid=53" target="_blank"><?php echo $value[name]; ?></a>
        <?php
              }
            }
        ?>
      </div>
    </ul>

  </div>
</div>

<div class="blank10"></div>

<div class="wrap">
  <div class="lf">
     <h2><span><a href="#" target="_blank">院校对比</a></span><!-- (共计271所) --></h2>
     <div class="lf_cont">
       <div class="dq">
        <?php
        $province = getTopData('area');
        // var_dump($province_short);
        foreach ($province as $key => $value) {
          echo "<a href='#$key'>$province_short[$value]</a>";
        }
        ?>
      </div>
      <?php
        $province = getTopData('area');
        $k = 0;
        foreach ($province as $key => $value) {
          $k++;
          if ($k%2==0) {
            echo "<dl class='dq_list bg1'>
                  <dt id=$key>
                  <a href='../plus/collegesearch.php?search_area=".$key."'><img src='".$cfg_cmsurl."/templets/default/images/collegelibrary/province_picture/".$province_picture[$value]."' alt='$value' /></a>
                  <span><a href='../plus/collegesearch.php?search_area=".$key."'>$value</a></span>
                  </dt><dd>";
            $inquery = "SELECT * FROM `#@__collegeinfo` col WHERE col.area=$key";
            $dsql->SetQuery($inquery);
            $dsql->Execute();
            while($row = $dsql->GetArray())
            {
                echo "<div style='width: 135px; float: left; height: 22px; line-height: 22px; margin: 0px 4px 0px 10px;'><a style='color:#5166b4;' href='". $cfg_cmsurl."/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=".$row['collegeId']."' title='".$row['name']."' >".substr($row['name'], 0,30)."</a></div>";
            }
            echo "</dd></dl>";
          }
          else{
            echo "<dl class='dq_list'>
                  <dt id=$key>
                  <a href='../plus/collegesearch.php?search_area=".$key."'><img src='".$cfg_cmsurl."/templets/default/images/collegelibrary/province_picture/".$province_picture[$value]."' alt='$value' /></a>
                  <span><a href='../plus/collegesearch.php?search_area=".$key."'>$value</a></span>
                  </dt><dd>";
            $inquery = "SELECT * FROM `#@__collegeinfo` col WHERE col.area=$key";
            $dsql->SetQuery($inquery);
            $dsql->Execute();
            while($row = $dsql->GetArray())
            {
                echo "<div style='width: 135px; float: left; height: 22px; line-height: 22px; margin: 0px 4px 0px 10px;'><a style='color:#5166b4;' href='". $cfg_cmsurl."/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=".$row['collegeId']."' title='".$row['name']."' >".substr($row['name'], 0,30)."</a></div>";
            }
            echo "</dd></dl>";
          }
        }
      ?>
    </div>
  </div>

  <div class="rt">
    <div class="rt_5">
      <div class="title1"><strong>学费分类</strong></div>
      <ul class="yttzul">
        <?php
            $fee_range = getTopData('feeRange');
            foreach ($fee_range as $key => $value) {
        ?>
          <li><a href="collegesearch.php?search_feerange=<?php echo $key; ?>"><?php echo $value; ?></a></li>
        <?php
            }
        ?>
     </ul>
     </div>

    <div class="rt_1">
       <div class="title1"><strong>按分数线划分</strong></div>
       <ul class="yttzul">
         <?php
            $score_type = getTopData('scoreType');
            foreach ($score_type as $key => $value) {
        ?>
          <li><a href="collegesearch.php?search_scoretype=<?php echo $key; ?>"><?php echo $value; ?></a></li>
        <?php
            }
        ?>
       </ul>
    </div>

    <div class="blank8"></div>
    <dl class="rt_2">
      <dt><a href="<?php echo  $cfg_cmsurl; ?>/wenda/index.php?ct=index&ac=register" target="_blank"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/bm_button.gif" /></a></dt>
<<<<<<< HEAD

       <?php
=======
      <?php
>>>>>>> 6dd13367460f2cfe5c07483897ba27f4b337ad53
       if(!empty($contact)){
        foreach ($contact as $v) {
       ?>
          <dd><?php echo $v['key'].":".$v['value'] ?></dd>
       <?php
         }
         }
        ?>
    </dl>

    <div class="blank8"></div>
   <!--  <div class="rt_3"><a href="http://mfin.mbachina.net/" target="_blank" title="国内唯一金融顶级团队社科院与杜兰大学其强强合作 中外合作办学 免联考 在职学习"><img src="http://www.mbachina.com/uploads/allimg/131025/161_1737345391.gif" alt="国内唯一金融顶级团队社科院与杜兰大学其强强合作 中外合作办学 免联考 在职学习">
    </a></div> -->

<!-- <br>
<div class="rt_3"><a href="http://smba.mbachina.com/zt/buct/" target="_blank" title="北京化工大学"><img src="http://www.mbachina.com/uploads/allimg/131025/bhg.jpg" alt="北京化工大学"></a></div> -->
<div class="right" style="width:220px">
<div class="ksbm" style="width:220px;">
            <div class="rt_title color2"><strong>快速报名通道</strong></div>
            <p style="width: 200px;padding:10px;">如果您符合要求，大学MBA招生办公室会通过邮件/电话与您联系，邀请您拜访学校、参加公开课、招生路演以及校友见面会。</p>
            <ul id="register_form">
               <li style="height:auto;">邮　　箱：
                 <input name="email" id="email" onblur="checkEmail(this.value);" type="text" class="keywords" />
                 <br />
                 <span id="emailtip"></span>
                 <span class="ts" style="display:none;" id="logintip">&nbsp;&nbsp;
                 <a class="thickbox" href="http://user.mbachina.com/index.php/app/login?keepThis=true&TB_iframe=true&height=250&width=400&projectid=5">登陆</a>&nbsp;或&nbsp;
                 <a href="http://user.mbachina.com/login/lostpasswd">找回密码</a>
                 </span>
               </li>

               <span id="repasswordtip"></span></li>
               <li style="height:auto;">姓　　名：
                 <input name="realname" id="realname"  type="text" class="keywords" />
                 <br />
                 <span id="realnametip"></span></li>
               <li style="height:auto;">手　　机：
                 <input name="tel" id="tel"  type="text" class="keywords" />
                 <br />
                  <li style="height:auto;">毕业院校：
                 <input name="schoolGraduate" id="schoolGraduate" type="text" class="keywords">
                 <br />
                 <span id="passwordtip"></span></li>
               <li style="height:auto;">毕业年份：
               <input name="dateGraduate" id="dateGraduate" type="text" class="keywords" />
               <br />
                 <span id="mobiletip"></span>
               </li>

               <li>学　　历：&nbsp;
      <select name="degree" id="degree" style="margin-top:5px; width:80px;">
          <option value="0">博士</option>
          <option value="1">硕士</option>
          <option value="2">大本</option>
          <option value="3">大专</option>
      </select>
               </li>

            </ul>
            <input type="hidden" id="schoolid" value="62" />
            <input type="hidden" name="projectid" id="projectid" value="5" />
            <div class="submit"><input onclick="register();" type="image" src="<?php echo $cfg_cmsurl; ?>/wenda/static/images/collegeinfo_detail/submit.gif" /></div>
        </div>
        </div>
<<<<<<< HEAD


  <div class="blank8"></div>
    <div class="rt_4">
    <script src='/guanjunMBA/plus/ad_js.php?aid=30' language='javascript'></script>
    <div style="height: 5px;"></div>
    <script src='/guanjunMBA/plus/ad_js.php?aid=30' language='javascript'></script>
=======
  <div class="blank8"></div>
    <div class="rt_4">
         <script src='http://www.guanjunedu.com/plus/ad_js.php?aid=46' language='javascript'></script>
    <div style="height: 5px;"></div>
    <script src='http://www.guanjunedu.com/plus/ad_js.php?aid=47' language='javascript'></script>
>>>>>>> 6dd13367460f2cfe5c07483897ba27f4b337ad53
       <div class="title2"><strong>最近浏览过的院校</strong></div>
       <ul class="yx_list">
       <?php
            foreach ($history_college as $key => $value) {
       ?>
       <li><em><a href="<?php echo  $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $value['collegeId']; ?>"><?php echo $value['name']; ?> </a></em><span><a href="javascript:void(0)" onclick="list_db(<?php echo $value['collegeId']; ?>,'<?php echo $value['name']; ?> ')"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/db_button.gif"></a></span></li>
       <?php
          }
       ?>
       </ul>
       <div class="title2"><strong>您可能关注的院校</strong></div>
       <ul class="yx_list">
         <?php
            foreach ($recommend_college as $key => $value) {
       ?>
       <li><em><a href="<?php echo  $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $value['collegeId']; ?>"><?php echo $value['name']; ?> </a></em><span><a href="javascript:void(0)" onclick="list_db(<?php echo $value['collegeId']; ?>,'<?php echo $value['name']; ?> ')"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/db_button.gif"></a></span></li>
       <?php
          }
       ?>
       </ul>

   <!--  <div class="rt_3" style="margin:0px 0; height:180px">
		<a target="_blank" href="http://smba.mbachina.com/" title="SMBA院校联合招生">
		<img src="http://www.mbachina.com/uploads/allimg/140103/smbalhzs.gif" title="SMBA院校联合招生">
		</a>
		</div>

		<div class="rt_3" style="margin:10px 0; height:180px">
		<a target="_blank" href="http://bm.mbachina.com/" title="2015年全国MBA报名服务中心">
		<img src="http://www.mbachina.com/uploads/allimg/140103/161_1106387562.gif" title="2015年全国MBA报名服务中心">
		</a>
		</div> -->

     <iframe src="<?php echo  $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=news" style="padding:0;margin:0" width="100%" height="500" frameborder="0" scrolling="no"></iframe>

   <!--  <p class="sm">
        声明：本库已收录中国大陆地区<font color="red">271</font>个具有招生资格的MBA项目信息，目前处于公测阶段，欢迎提出您宝贵的意见！<br />
        联系电话：400-600-9288<br />
        邮　　箱：mba@mbachina.com<br /><br />
    </p> -->
  </div>
  </div>
</div>

<div class="blank15"></div>
<?php
  include "college_footer.htm";
?>

<div class="school_db">
    <span class="headers">院校对比</span>
    <ul id='duibi'>
        <?php
          if ($sid=='') {
            echo "<li><em>未添加对比</em></li>";
          }
          else{
            $sid = rtrim($sid,',');
            $sids = explode(',', $sid);
            foreach ($sids as $key => $value) {
              $sql = "SELECT * FROM `#@__collegeinfo` WHERE  collegeId=$value";
              $college_contrast = $dsql->GetOne($sql);
        ?>
            <span id="schoolid<?php echo $value; ?>"><li><em><a href="<?php echo  $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $value; ?>" target="_blank"><?php echo $college_contrast['name']; ?></a> <a href="javascript:void(0)" onclick="delschoolid(<?php echo $value; ?>)"><img src="<?php echo $cfg_cmsurl; ?>/templets/default/images/collegelibrary/closed.gif"></a></em></li></span>
        <?php
            }//foreach end
          }
        ?>
    </ul>

    <span class="cz">
        <a href="javascript:void(0)" onclick="list_db_check()"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/start_db.gif" width="69" height="23" /></a>
        <a href="javascript:void(0)" onclick="list_db_empty()"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/qk.gif" width="52" height="23" /></a>
    </span>

    <div class="blank10"></div>
    <span class="bot"></span>
    <img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/weixin.jpg" width="161" height="161">
</div>

<script type="text/javascript">
var tag=1;
function delschoolid(sid)
{
   var coo=Cookie.get('sid');
   var arr= coo.split(",");
   var len=coo.replace(sid+',',"");
   Cookie.set('sid',len,259200);
   if(len=='')
   {
     $(".school_db ul").html("<li><em>未添加对比</em></li>");
   }else{
    $('#schoolid'+sid).html('');
   }
}

function list_db(sid,sname){
  var flag=true;
  var coo=Cookie.get('sid');
  var str= '<span id=schoolid'+sid+'><li ><em><a href="<?php echo  $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId='+sid+'" target="_blank">'+sname+'</a> <a href="javascript:void(0)" onclick="delschoolid('+sid+')"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/closed.gif" /></a></em></li></span>';
  if(coo!=null){
    var arr= coo.split(",");
    if(arr.length>1){
      for(var i=0;i<arr.length;i++){
          if(arr[i]==sid) flag=false;
      }
    var len=coo.replace(sid+',',"");
   if(arr.length>4){
      alert('你已经选择四个学校对比了！');
   }
   else{
      if(!flag){
          alert('该学校已在对比中！');
      }
      else{
        $('#duibi').append(str);
        Cookie.set('sid',sid+','+len,259200);
      }
   }
  }else{
     $('#duibi').html(str);
     Cookie.set('sid',sid+',',259200);
  }
}
else{
  $('#duibi').html(str);
  Cookie.set('sid',sid+',',259200);
}
}



//开始对比

function list_db_check()
{
  var coo=Cookie.get('sid');
  if(coo==null){
    alert('至少要选择2个学校，才能对比！');
  }
  else{
		var arr= coo.split(",");
    if(arr.length>2){
			window.open ('<?php echo $cfg_plus_dir; ?>/collegecontrast.php');
    }
    else{
      alert('至少要选择2个学校，才能对比！');
    }
}
}

function list_db_delete(num){
    var names=parseInt(num);
    $("li[name="+num+"]").remove();
    if($(".school_db ul").html()=="")
    {
      $(".school_db ul").html("<li><em>未添加对比</em></li>")
    }
}

function list_db_empty(){
    $(".school_db ul").html("<li><em>未添加对比</em></li>");
    Cookie.set('sid','');
}



$(document).ready(function(){
     $("#menu_list dd").hover(function(){
        $("#menu_list dd").removeClass("sel");
        $(this).addClass("sel");
        $(".xy .xy_list").hide();
        $($(".xy .xy_list").get($("#menu_list dd").index($(this)))).show();
     },function(){})

     $(".touchmenu div").click(function(){
         $(".touchmenu").children("ul").hide();
         $(this).next().show();
         $(this).next().children("li").click(function(){
            $(this).parent("ul").parent("li").children("div").children("span").text($(this).text());
            $(".touchmenu").children("ul").hide();
         });
        $(this).next().children("li").hover(function(){
            $(this).css({"background":"#b4bcda","color":"#fff"})
        },function(){
            $(this).css({"background":"#FAFAFD","color":"#5166B4"})
        })
     })

     $("#textJC").click(function(){
         if($(this).val().indexOf("输入")!=-1){
            $(this).val("")
        }
     })

     $("#textJC").blur(function(){
         if($(this).val()==""){
            $(this).val("输入学校名称")
        }
     })

     $(".lf_cont .dq a").click(function(){
         $(".lf_cont .dq a").removeClass("sel");
         $(this).addClass("sel");
//        return false
     })
})
</script>


</body>
</html>


